package com.xxp.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Travel {
    private Integer id;
    private String photo;
    private String introduce;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "GMT+8")
    private Date createtime;
    private String name;
    private String body;
    private Integer num;
}
